package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjNetworkEmpBand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 网点人员银行卡表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-05-24
 */
@Repository
public interface ZjNetworkEmpBandMapper extends BaseMapper<ZjNetworkEmpBand> {

    /**
     * 查询银行卡是否重复
     * @param id 表ID
     * @param networkEmpId 服务人员ID
     * @param code 银行卡号
     * @return
     */
    Integer existByCode(@Param("id") Long id, @Param("networkEmpId") Long networkEmpId, @Param("code") String code);
}
